﻿<%@ Page Language="C#" MasterPageFile="MasterPageUser.master" AutoEventWireup="true" CodeFile="LostPassword.aspx.cs" Inherits="Client_LostPassword" Title="ii-online" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
 <script type="text/javascript">              
        window.parent.document.getElementById("TB_ajaxWindowTitle").firstChild.nodeValue = "FORGOT PASSWORD";
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
            <td height="30">
                <div class="btTitle">
                </div>
                Enter your Email address and we&#39;ll send you a new password immediately
            </td>
        </tr>
        <tr>
            <td align="center" colspan="2">
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate>
                        <asp:Label ID="lblMessage" runat="server" ForeColor="Red"></asp:Label>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtUsername"
                            Display="Dynamic" ErrorMessage="Invalid email address" SetFocusOnError="True"
                            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                    </ContentTemplate>
                    <Triggers>
                        <asp:AsyncPostBackTrigger ControlID="cmdSend" EventName="Click" />
                    </Triggers>
                </asp:UpdatePanel>
            </td>
        </tr>
        <tr>
            <td class="clsNewsletterContent">
                <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                    <ContentTemplate>
                        <asp:Panel ID="pnl" runat="server">
                            <table border="0" cellpadding="0" cellspacing="4" width="350px">
                                <tr>
                                    <td style="text-align: rightp; width: 200px">
                                        Email Address:
                                    </td>
                                    <td class="bt">
                                        <asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender1" runat="server" TargetControlID="txtUsername"
                                            WatermarkCssClass="clsWaterMarkRequiredField" WatermarkText="email">
                                        </asp:TextBoxWatermarkExtender>
                                        <asp:TextBox ID="txtUsername" runat="server" CssClass="clsRequiredField" ToolTip="Input email"
                                            ValidationGroup="validLogin" Width="190px"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtUsername"
                                            Display="Dynamic" ErrorMessage="*" SetFocusOnError="true" Text="" ValidationGroup="validLogin"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right">
                                    </td>
                                    <td>
                                        <asp:ImageButton ID="cmdSend" runat="server" ImageUrl="~/images/bt_sendmypass.png"
                                            OnClick="cmdSend_Click" />
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right">
                                        &nbsp;
                                    </td>
                                    <td>
                                        <asp:UpdateProgress ID="UpdateProgress1" runat="server">
                                            <ProgressTemplate>
                                                <asp:Image ID="imgLoading" runat="server" ToolTip="Loading..." ImageUrl="~/images/loadingAnimation.gif"
                                                    Style="border-width: 0px;" />
                                            </ProgressTemplate>
                                        </asp:UpdateProgress>
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </td>
        </tr>
    </table>
</asp:Content>

